package com.cf.apiInstance.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TenderBulletinExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TenderBulletinExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeIsNull() {
            addCriterion("tender_project_code is null");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeIsNotNull() {
            addCriterion("tender_project_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeEqualTo(String value) {
            addCriterion("tender_project_code =", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeNotEqualTo(String value) {
            addCriterion("tender_project_code <>", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeGreaterThan(String value) {
            addCriterion("tender_project_code >", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tender_project_code >=", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeLessThan(String value) {
            addCriterion("tender_project_code <", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeLessThanOrEqualTo(String value) {
            addCriterion("tender_project_code <=", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeLike(String value) {
            addCriterion("tender_project_code like", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeNotLike(String value) {
            addCriterion("tender_project_code not like", value, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeIn(List<String> values) {
            addCriterion("tender_project_code in", values, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeNotIn(List<String> values) {
            addCriterion("tender_project_code not in", values, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeBetween(String value1, String value2) {
            addCriterion("tender_project_code between", value1, value2, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andTenderProjectCodeNotBetween(String value1, String value2) {
            addCriterion("tender_project_code not between", value1, value2, "tenderProjectCode");
            return (Criteria) this;
        }

        public Criteria andProjectTypeIsNull() {
            addCriterion("project_type is null");
            return (Criteria) this;
        }

        public Criteria andProjectTypeIsNotNull() {
            addCriterion("project_type is not null");
            return (Criteria) this;
        }

        public Criteria andProjectTypeEqualTo(String value) {
            addCriterion("project_type =", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeNotEqualTo(String value) {
            addCriterion("project_type <>", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeGreaterThan(String value) {
            addCriterion("project_type >", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeGreaterThanOrEqualTo(String value) {
            addCriterion("project_type >=", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeLessThan(String value) {
            addCriterion("project_type <", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeLessThanOrEqualTo(String value) {
            addCriterion("project_type <=", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeLike(String value) {
            addCriterion("project_type like", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeNotLike(String value) {
            addCriterion("project_type not like", value, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeIn(List<String> values) {
            addCriterion("project_type in", values, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeNotIn(List<String> values) {
            addCriterion("project_type not in", values, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeBetween(String value1, String value2) {
            addCriterion("project_type between", value1, value2, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectTypeNotBetween(String value1, String value2) {
            addCriterion("project_type not between", value1, value2, "projectType");
            return (Criteria) this;
        }

        public Criteria andProjectAreaIsNull() {
            addCriterion("project_area is null");
            return (Criteria) this;
        }

        public Criteria andProjectAreaIsNotNull() {
            addCriterion("project_area is not null");
            return (Criteria) this;
        }

        public Criteria andProjectAreaEqualTo(String value) {
            addCriterion("project_area =", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaNotEqualTo(String value) {
            addCriterion("project_area <>", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaGreaterThan(String value) {
            addCriterion("project_area >", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaGreaterThanOrEqualTo(String value) {
            addCriterion("project_area >=", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaLessThan(String value) {
            addCriterion("project_area <", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaLessThanOrEqualTo(String value) {
            addCriterion("project_area <=", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaLike(String value) {
            addCriterion("project_area like", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaNotLike(String value) {
            addCriterion("project_area not like", value, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaIn(List<String> values) {
            addCriterion("project_area in", values, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaNotIn(List<String> values) {
            addCriterion("project_area not in", values, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaBetween(String value1, String value2) {
            addCriterion("project_area between", value1, value2, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectAreaNotBetween(String value1, String value2) {
            addCriterion("project_area not between", value1, value2, "projectArea");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("project_name like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("project_name not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("project_name in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andTenderModeIsNull() {
            addCriterion("tender_mode is null");
            return (Criteria) this;
        }

        public Criteria andTenderModeIsNotNull() {
            addCriterion("tender_mode is not null");
            return (Criteria) this;
        }

        public Criteria andTenderModeEqualTo(String value) {
            addCriterion("tender_mode =", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeNotEqualTo(String value) {
            addCriterion("tender_mode <>", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeGreaterThan(String value) {
            addCriterion("tender_mode >", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeGreaterThanOrEqualTo(String value) {
            addCriterion("tender_mode >=", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeLessThan(String value) {
            addCriterion("tender_mode <", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeLessThanOrEqualTo(String value) {
            addCriterion("tender_mode <=", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeLike(String value) {
            addCriterion("tender_mode like", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeNotLike(String value) {
            addCriterion("tender_mode not like", value, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeIn(List<String> values) {
            addCriterion("tender_mode in", values, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeNotIn(List<String> values) {
            addCriterion("tender_mode not in", values, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeBetween(String value1, String value2) {
            addCriterion("tender_mode between", value1, value2, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andTenderModeNotBetween(String value1, String value2) {
            addCriterion("tender_mode not between", value1, value2, "tenderMode");
            return (Criteria) this;
        }

        public Criteria andQualTypeIsNull() {
            addCriterion("qual_type is null");
            return (Criteria) this;
        }

        public Criteria andQualTypeIsNotNull() {
            addCriterion("qual_type is not null");
            return (Criteria) this;
        }

        public Criteria andQualTypeEqualTo(String value) {
            addCriterion("qual_type =", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeNotEqualTo(String value) {
            addCriterion("qual_type <>", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeGreaterThan(String value) {
            addCriterion("qual_type >", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeGreaterThanOrEqualTo(String value) {
            addCriterion("qual_type >=", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeLessThan(String value) {
            addCriterion("qual_type <", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeLessThanOrEqualTo(String value) {
            addCriterion("qual_type <=", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeLike(String value) {
            addCriterion("qual_type like", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeNotLike(String value) {
            addCriterion("qual_type not like", value, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeIn(List<String> values) {
            addCriterion("qual_type in", values, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeNotIn(List<String> values) {
            addCriterion("qual_type not in", values, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeBetween(String value1, String value2) {
            addCriterion("qual_type between", value1, value2, "qualType");
            return (Criteria) this;
        }

        public Criteria andQualTypeNotBetween(String value1, String value2) {
            addCriterion("qual_type not between", value1, value2, "qualType");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodIsNull() {
            addCriterion("evaluating_method is null");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodIsNotNull() {
            addCriterion("evaluating_method is not null");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodEqualTo(String value) {
            addCriterion("evaluating_method =", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodNotEqualTo(String value) {
            addCriterion("evaluating_method <>", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodGreaterThan(String value) {
            addCriterion("evaluating_method >", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodGreaterThanOrEqualTo(String value) {
            addCriterion("evaluating_method >=", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodLessThan(String value) {
            addCriterion("evaluating_method <", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodLessThanOrEqualTo(String value) {
            addCriterion("evaluating_method <=", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodLike(String value) {
            addCriterion("evaluating_method like", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodNotLike(String value) {
            addCriterion("evaluating_method not like", value, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodIn(List<String> values) {
            addCriterion("evaluating_method in", values, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodNotIn(List<String> values) {
            addCriterion("evaluating_method not in", values, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodBetween(String value1, String value2) {
            addCriterion("evaluating_method between", value1, value2, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andEvaluatingMethodNotBetween(String value1, String value2) {
            addCriterion("evaluating_method not between", value1, value2, "evaluatingMethod");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyIsNull() {
            addCriterion("tender_company is null");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyIsNotNull() {
            addCriterion("tender_company is not null");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyEqualTo(String value) {
            addCriterion("tender_company =", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyNotEqualTo(String value) {
            addCriterion("tender_company <>", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyGreaterThan(String value) {
            addCriterion("tender_company >", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("tender_company >=", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyLessThan(String value) {
            addCriterion("tender_company <", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyLessThanOrEqualTo(String value) {
            addCriterion("tender_company <=", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyLike(String value) {
            addCriterion("tender_company like", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyNotLike(String value) {
            addCriterion("tender_company not like", value, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyIn(List<String> values) {
            addCriterion("tender_company in", values, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyNotIn(List<String> values) {
            addCriterion("tender_company not in", values, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyBetween(String value1, String value2) {
            addCriterion("tender_company between", value1, value2, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andTenderCompanyNotBetween(String value1, String value2) {
            addCriterion("tender_company not between", value1, value2, "tenderCompany");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}